package com.hy.service;

import com.hy.bean.Comment;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface CardService {
    void selectCard(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void selectFollow(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void selectRecommend(HttpServletRequest request, HttpServletResponse response) throws Exception;

    //void selectComment(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void selectComment(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void selectEndorseCount(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void updateEndorse(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void updateOppose(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void updateCollect(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void updateLove(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void selectTableLikeByCardId(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void imgUpload(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException;

    void insertComment(HttpServletRequest request, HttpServletResponse response) throws Exception;

    void selectCommentCount(HttpServletRequest request, HttpServletResponse response) throws Exception;
}
